﻿using SqlSugar;
namespace AT.Data.Core.SC_Customer
{
    ///<summary>
    ///销售出库表(SC=SalesCustomer,ERP=数据来源系统)
    ///</summary>
    [SugarTable("SC_SalesDelivery")]
    [Tenant("USER")]
    public partial class SC_SalesDelivery
    {
           public SC_SalesDelivery(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int Id {get;set;}

           /// <summary>
           /// Desc:出库日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string DeliveryDate {get;set;}

           /// <summary>
           /// Desc:销售组织
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SalesOrg {get;set;}

           /// <summary>
           /// Desc:发货组织
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string DeliveryOrg {get;set;}

           /// <summary>
           /// Desc:客户编码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CustomerCode {get;set;}

           /// <summary>
           /// Desc:客户名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CustomerName {get;set;}

           /// <summary>
           /// Desc:发货部门
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string DeliveryDept {get;set;}

           /// <summary>
           /// Desc:销售部门
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SalesDept {get;set;}

           /// <summary>
           /// Desc:销售人员
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SalesPerson {get;set;}

           /// <summary>
           /// Desc:承运商
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Carrier {get;set;}

           /// <summary>
           /// Desc:运输单号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ShippingNo {get;set;}

           /// <summary>
           /// Desc:收货方
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Receiver {get;set;}

           /// <summary>
           /// Desc:付款方
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Payer {get;set;}

           /// <summary>
           /// Desc:收货方地址
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string DeliveryAddress {get;set;}

           /// <summary>
           /// Desc:联系电话
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ContactPhone {get;set;}

           /// <summary>
           /// Desc:收货人姓名
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ReceiverName {get;set;}

           /// <summary>
           /// Desc:物流单号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string LogisticsNo {get;set;}

           /// <summary>
           /// Desc:出库金额
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Amount {get;set;}

           /// <summary>
           /// Desc:来源系统：ERP/OA
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SourceSystem {get;set;}

           /// <summary>
           /// Desc:系统Id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SystemId {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? CreateDate {get;set;}

    }
}
